﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014A3 RID: 5283
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UnlockTutorialGuideCsReq : IMessage<UnlockTutorialGuideCsReq>, IMessage, IEquatable<UnlockTutorialGuideCsReq>, IDeepCloneable<UnlockTutorialGuideCsReq>, IBufferMessage
	{
		// Token: 0x17004279 RID: 17017
		// (get) Token: 0x0600EC21 RID: 60449 RVA: 0x00276B30 File Offset: 0x00274D30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UnlockTutorialGuideCsReq> Parser
		{
			get
			{
				return UnlockTutorialGuideCsReq._parser;
			}
		}

		// Token: 0x1700427A RID: 17018
		// (get) Token: 0x0600EC22 RID: 60450 RVA: 0x00276B37 File Offset: 0x00274D37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UnlockTutorialGuideCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700427B RID: 17019
		// (get) Token: 0x0600EC23 RID: 60451 RVA: 0x00276B49 File Offset: 0x00274D49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UnlockTutorialGuideCsReq.Descriptor;
			}
		}

		// Token: 0x0600EC24 RID: 60452 RVA: 0x00276B50 File Offset: 0x00274D50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockTutorialGuideCsReq()
		{
		}

		// Token: 0x0600EC25 RID: 60453 RVA: 0x00276B58 File Offset: 0x00274D58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockTutorialGuideCsReq(UnlockTutorialGuideCsReq other) : this()
		{
			this.groupId_ = other.groupId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EC26 RID: 60454 RVA: 0x00276B7D File Offset: 0x00274D7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockTutorialGuideCsReq Clone()
		{
			return new UnlockTutorialGuideCsReq(this);
		}

		// Token: 0x1700427C RID: 17020
		// (get) Token: 0x0600EC27 RID: 60455 RVA: 0x00276B85 File Offset: 0x00274D85
		// (set) Token: 0x0600EC28 RID: 60456 RVA: 0x00276B8D File Offset: 0x00274D8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x0600EC29 RID: 60457 RVA: 0x00276B96 File Offset: 0x00274D96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UnlockTutorialGuideCsReq);
		}

		// Token: 0x0600EC2A RID: 60458 RVA: 0x00276BA4 File Offset: 0x00274DA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UnlockTutorialGuideCsReq other)
		{
			return other != null && (other == this || (this.GroupId == other.GroupId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EC2B RID: 60459 RVA: 0x00276BD4 File Offset: 0x00274DD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EC2C RID: 60460 RVA: 0x00276C13 File Offset: 0x00274E13
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EC2D RID: 60461 RVA: 0x00276C1B File Offset: 0x00274E1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EC2E RID: 60462 RVA: 0x00276C24 File Offset: 0x00274E24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.GroupId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EC2F RID: 60463 RVA: 0x00276C58 File Offset: 0x00274E58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EC30 RID: 60464 RVA: 0x00276C96 File Offset: 0x00274E96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UnlockTutorialGuideCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EC31 RID: 60465 RVA: 0x00276CC7 File Offset: 0x00274EC7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EC32 RID: 60466 RVA: 0x00276CD0 File Offset: 0x00274ED0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.GroupId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005D6B RID: 23915
		private static readonly MessageParser<UnlockTutorialGuideCsReq> _parser = new MessageParser<UnlockTutorialGuideCsReq>(() => new UnlockTutorialGuideCsReq());

		// Token: 0x04005D6C RID: 23916
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005D6D RID: 23917
		public const int GroupIdFieldNumber = 8;

		// Token: 0x04005D6E RID: 23918
		private uint groupId_;
	}
}
